﻿<%@ Page Language="C#" MasterPageFile="~/MainMT.master" AutoEventWireup="true" CodeFile="JobSeekerInfo.aspx.cs" Inherits="JobSeekerInfo" Title="无锡校园人才网-求职指导" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="css/stujob.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" />
</asp:Content>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="leftmain">
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop" style="margin-left:25px;">范 文</span>
            </div>
            <div>
                <asp:DataList ID="DataList5" runat="server" border="0" CellSpacing="0" CellPadding="5" DataKeyField="jsid"
                    DataSourceID="SqlDataSource1" Width="200px">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink6" runat="server"
                            NavigateUrl='<%# "JobSeekerInfo.aspx?jsid="+Eval("jsid")+"&js="+Eval("jscid") %>'
                            Text='<%# Eval("jsname") %>'></asp:HyperLink>
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT * FROM [jobseeker] WHERE ([jscid] = @jscid) ORDER BY [jstime] DESC">
                    <SelectParameters>
                        <asp:QueryStringParameter Name="jscid" QueryStringField="js" Type="Int32" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </div>
        </div>
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop">热门文章</span>
            </div>
            <div>
                <asp:SqlDataSource ID="SqlDataSource3" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT top 15 * FROM [jobseeker] ORDER BY [jstime] DESC"></asp:SqlDataSource>
                <asp:DataList ID="DataList4" runat="server" border="0" CellSpacing="0" CellPadding="5"
                    DataKeyField="jsid" DataSourceID="SqlDataSource3" Width="200px">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink5" runat="server"
                            NavigateUrl='<%# "JobSeekerInfo.aspx?jsid="+Eval("jsid")+"&js="+Eval("jscid") %>'
                            Text='<%# Eval("jsname") %>'></asp:HyperLink>
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>

            </div>
        </div>
    </div>

    <div class="rightmain" style="width: 768px;">
        <div class="rightHeader1">
            <div class="rightHLeft"><span class="rightHeaderTitle">当前位置</span></div>
            <div class="rightHMiddle2">
                <span>
                    <a href="Default.aspx" class="moreRight" style="float: left;">首页</a> <span class="jian">></span>
                    <span class="moreRight" style="float: left;">文章</span>
                </span>
            </div>
            <div class="rightHRight"></div>
        </div>
        <div id="zpinfo">
            <div align="left">
                <asp:FormView ID="FormView1" runat="server" CaptionAlign="Top"
                    DataKeyNames="jsid" DataSourceID="SqlDataSource2" HorizontalAlign="Left">
                    <RowStyle VerticalAlign="Top" />
                    <EditItemTemplate>
                        jsid:
                                        <asp:Label ID="jsidLabel1" runat="server" Text='<%# Eval("jsid") %>' />
                        <br />
                        jsname:
                                        <asp:TextBox ID="jsnameTextBox" runat="server" Text='<%# Bind("jsname") %>' />
                        <br />
                        jsinfo:
                                        <asp:TextBox ID="jsinfoTextBox" runat="server" Text='<%# Bind("jsinfo") %>' />
                        <br />
                        jstime:
                                        <asp:TextBox ID="jstimeTextBox" runat="server" Text='<%# Bind("jstime") %>' />
                        <br />
                        jscid:
                                        <asp:TextBox ID="jscidTextBox" runat="server" Text='<%# Bind("jscid") %>' />
                        <br />
                        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
                            CommandName="Update" Text="更新" />
                        &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server"
                            CausesValidation="False" CommandName="Cancel" Text="取消" />
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        jsname:
                                        <asp:TextBox ID="jsnameTextBox" runat="server" Text='<%# Bind("jsname") %>' />
                        <br />
                        jsinfo:
                                        <asp:TextBox ID="jsinfoTextBox" runat="server" Text='<%# Bind("jsinfo") %>' />
                        <br />
                        jstime:
                                        <asp:TextBox ID="jstimeTextBox" runat="server" Text='<%# Bind("jstime") %>' />
                        <br />
                        jscid:
                                        <asp:TextBox ID="jscidTextBox" runat="server" Text='<%# Bind("jscid") %>' />
                        <br />
                        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True"
                            CommandName="Insert" Text="插入" />
                        &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server"
                            CausesValidation="False" CommandName="Cancel" Text="取消" />
                    </InsertItemTemplate>
                    <ItemTemplate>
                        &nbsp;<table style="width: 100%; border-right: silver 1px solid; border-top: silver 1px solid; border-left: silver 1px solid; border-bottom: silver 1px solid;">
                            <tr>
                                <td>标题：<asp:Label ID="jsnameLabel" runat="server" Style="font-weight: 700"
                                    Text='<%# Bind("jsname") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td>时间：<asp:Label ID="jstimeLabel" runat="server"
                                    Text='<%# Bind("jstime", "{0:d}") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="jsinfoLabel" runat="server" Text='<%# Bind("jsinfo") %>' />
                                </td>
                            </tr>
                        </table>
                        <br />
                    </ItemTemplate>
                </asp:FormView>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT * FROM [jobseeker] WHERE ([jsid] = @jsid)">
                    <SelectParameters>
                        <asp:QueryStringParameter Name="jsid" QueryStringField="jsid" Type="Int32" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </div>
        </div>
    </div>

</asp:Content>

